<?php
namespace app\index\controller;
use think\Controller;
use think\Db;
use think\Request;
use think\Session;
class Shop extends Controller{
    public function Shop_cart(){
        $res=Db::table('cart')->where("user_id=1")->select();
        $this->assign('data',$res);
        return view();
    }
}